package com.njit.mailm.core.bean;

import java.util.Date;

/**
 * Created by Administrator on 2016/4/21.
 */
public class Draft {
    private String id;
    private String subject;
    private String to;
    private Attachment attachment;
    private String content;
    private String emailId;
    private String bcc;
    private String cc;
    private Date saveTime;


    public Date getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(Date saveTime) {
        this.saveTime = saveTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }


    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public Attachment getAttachment() {
        return attachment;
    }

    public void setAttachment(Attachment attachment) {
        this.attachment = attachment;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public String getBcc() {
        return bcc;
    }

    public void setBcc(String bcc) {
        this.bcc = bcc;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getEmailId() {
        return emailId;
    }

    public void setEmailId(String emailId) {
        this.emailId = emailId;
    }

    @Override
    public String toString() {
        return "Draft{" +
                "id='" + id + '\'' +
                ", subject='" + subject + '\'' +
                ", to='" + to + '\'' +
                ", attachment=" + attachment +
                ", content='" + content + '\'' +
                ", emailId='" + emailId + '\'' +
                ", bcc='" + bcc + '\'' +
                ", cc='" + cc + '\'' +
                ", saveTime=" + saveTime +
                '}';
    }
}
